<template>
  <div  class="pannel-head m4">
    <div class="pannel-title">{{title}}</div>
    <div class="pannel-more">更多<Icon type="ios-arrow-forward" /></div>
  </div>
</template>

<script>

export default {
  name: 'htitle',
  props: {
    tname: {
      required: true,
      default: undefined,
      type: [String, undefined]
    }
  },
  data () {
    return {
      title: this.tname
    }
  }
}
</script>

<style>
.pannel-head{
  overflow: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: var(--default-color);
  line-height:24px;
  padding:20px 0 15px 0px;

}
.pannel-title{
  font-size:18px;
  font-weight: 600;
}

</style>
